projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
33d6ce3
)
Use string-empty-p for readability.
author
Jeremy Bryant
<jb@jeremybryant.net>
Sat, 9 Mar 2024 21:54:23 +0000
(21:54 +0000)
committer
Justin Burkett
<justin@burkett.cc>
Tue, 12 Mar 2024 20:32:13 +0000
(16:32 -0400)
* which-key.el (which-key--maybe-get-prefix-title):
Use string-empty-p for readability.
which-key.el
patch
|
blob
|
history
diff --git
a/which-key.el
b/which-key.el
index a4aec2476d37c5a7ab894c53cd8d7be260c6448f..985c419f73b7f3107adf345d45a9b2aad4dfabb9 100644
(file)
--- a/
which-key.el
+++ b/
which-key.el
@@
-1660,7
+1660,7
@@
no title exists."
(alternate (when (and binding (symbolp binding))
(symbol-name binding))))
(cond (title-res title-res)
- ((not (string-e
qual repl-res ""
)) repl-res)
+ ((not (string-e
mpty-p repl-res
)) repl-res)
((and (eq which-key-show-prefix 'echo) alternate)
alternate)
((and (member which-key-show-prefix '(bottom top mode-line))